package cn.hxh.page.service;

import cn.hxh.page.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2020/10/5 20:28
 */

public interface UserService {

    User login(String password,String account);

    List<User> query();

    int register(String password, String account);

}
